home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Disc to the Future 2
/
Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin
/
MAC
/
THINKC
/
4_0
/
TIFF_WIN
/
GLOBALS.C
< prev
next >
Wrap
C/C++ Source or Header
|
1990-04-10
|
1KB
|
23 lines
#include "my color.h"
/* global variables, most of these are artifacts from the orginal "showoff" code */
MenuHandle myMenus[menuCount]; /*handles to the menus*/
Rect dragRect; /*rectangle used to mark boundaries for dragging window*/
Rect screenRect; /*to hold screenbits.bounds */
Rect txRect; /*rectangle for text in application window*/
Boolean extendedCH; /*true if user is Shift-clicking*/
Boolean doneFlag; /*true if user has chosen Quit Item*/
EventRecord myEvent; /*information about an event*/
CWindowRecord wRecord; /*information about the application window*/
CWindowPtr myWindow; /*pointer to wRecord*/
CWindowPeek myWinPeek; /*another pointer to wRecord*/
CWindowPtr whichWindow; /*window in which mouse button was pressed*/
Rect nextWRect ; /*portRect for next window to be opended*/
long nextWNum; /*number of next window (for title)*/
CGrafPtr savedPort; /*pointer to preserve GrafPort*/
Boolean menusOK; /*for disabling menu items*/
long scrapErr;
short scrCopyErr;